﻿<UserControl x:Class="SMS.Views.Admin.AdminMDI"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <UserControl.Resources>
        <Style TargetType="HyperlinkButton"
               x:Key="masterHyperLinkStyle">
            <Setter Property="Margin"
                    Value="5" />

        </Style>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <StackPanel>
            <TextBlock Text="Admin" />

            <Rectangle Fill="Black"
                       Height="1" />
            <HyperlinkButton Content="add new user"
                             TargetName="ContentFrame"
                             Margin="5"
                             NavigateUri="/Admin/StockMaster" />
            <HyperlinkButton Content="update users profile"
                             Margin="5"
                             TargetName="ContentFrame"
                             NavigateUri="/Admin/ManageUsersProfile" />
            <HyperlinkButton Content="reset users password"
                             Margin="5"
                             TargetName="ContentFrame"
                             NavigateUri="/Admin/ResetUserPassword" />
            
        </StackPanel>

    </Grid>
    <!--<Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition/>            
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Button x:Name="btn_AddNewUser" Background="SaddleBrown" Content="add new user" 
                    Height="100" Width="200" Command="{Binding NewUserCommand}"></Button>
            <Button x:Name="btn_UpdateUser" Content="update users profile" Margin="10,0,0,0" Background="CadetBlue"
                    Height="100" Width="200" Command="{Binding UpdateUserCommand}" ></Button>
            <Button x:Name="btn_ResetUserPassword" Command="{Binding ResetPassword}" Background="DarkSeaGreen" Content="reset users password" Margin="10,0,0,0" 
                    Height="100" Width="200"></Button>
        </StackPanel>
    </Grid>-->
</UserControl>
